﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Pixels.ContentTypes;

namespace Pixels.ContentTypes.DataLayer
{
    public interface IDataAccessLayer
    {
        IContentType ContentTypeAddEdit(IContentType objContentType, bool updateifExists);

        void ContentTypeDelete(Guid ContentTypeID);

        IContentType ContentTypeFetch(Guid ContentTypeID);

        IContentType ContentTypeFetchByListID(Guid ListID);

        IContentType ContentTypeFetch(string ContentType);

        IContentType ContentTypeFetchByContentTypeItemID(Guid ContentItemID);

        IList<IContentType> ContentTypesFetch();
    }
}
